package com.fxd.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @auther fuxudong
 * @date 2021/5/2 - 14:07
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService{
//    当服务端报错，超时，拓机
    @Override
    public String paymentInfo_ok(Integer id) {
        return "PaymentFallbackService ok失败";
    }

    @Override
    public String paymentInfo_timeout(Integer id) {
        return "PaymentFallbackService timeout失败";
    }
}
